package com.fourforfo.fourmall.seckill.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @program: xxl-sso-core
 * @description: 定时器相关配置
 * @author: fourforfo
 * @email: fourforfo@gmail.com
 * @create: 2022-09-14 13:39
 **/
@EnableAsync
@EnableScheduling
@Configuration
public class ScheduledConfig {



    private static final String SESSIONS_CACHE_PREFIX = "seckill:sessions:";
    private static final String SKUKILL_CACHE_PREFIX = "seckill:skus:";
    private static final String SKU_STOCK_SEMAPHORE = "seckill:stock:";

}
